﻿<%@ Register TagPrefix="uc1" TagName="menu_khachhang" Src="../common/menu_khachhang.ascx" %>
<%@ Register TagPrefix="uc1" TagName="menu_sales" Src="../common/menu_sales.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ctdonhang.aspx.vb" Inherits="kdadmin.ctdonhang" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.01 Transitional//EN">
<HTML>
	<HEAD>
		<title>donhang</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="VBScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">		
	</HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="780" border="0">
				<TR>
					<TD style="WIDTH: 19px" width="19"></TD>
					<TD style="WIDTH: 653px">
						<uc1:menu_sales id="Menu_sales1" runat="server"></uc1:menu_sales></TD>
				</TR>
				<TR>
					<TD style="WIDTH: 19px" width="19"></TD>
					<TD style="WIDTH: 653px"><asp:label id="Label1" runat="server">Label</asp:label><asp:datagrid id="DataGrid1" runat="server" BackColor="White" BorderWidth="1px" BorderStyle="None"
							BorderColor="#CC9966" AutoGenerateColumns="False" OnPageIndexChanged="DataGrid1_PageIndexChanged" Width="100%">
							<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#FF6600" BackColor="#990000"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="Tên sản phẩm">
									<ItemTemplate>
										<asp:label ID="lblTen" runat="server" Text ='<%# iif(DataBinder.Eval(Container.DataItem, "dvt")="AU$",DataBinder.Eval(Container.DataItem, "tensanphamE"), iif(DataBinder.Eval(Container.DataItem, "dvt")="EUR",DataBinder.Eval(Container.DataItem, "tensanphamG"), iif(DataBinder.Eval(Container.DataItem, "dvt")="RMB",DataBinder.Eval(Container.DataItem, "tensanphamS"),DataBinder.Eval(Container.DataItem, "tensanpham"))))  %>' />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:BoundColumn DataField="gia" HeaderText="Gi&#225;" DataFormatString="{0:#,###}" ItemStyle-HorizontalAlign="Right"></asp:BoundColumn>
								<asp:BoundColumn DataField="soluong" HeaderText="Số lượng" DataFormatString="{0:#,###}" ItemStyle-HorizontalAlign="Center"></asp:BoundColumn>
								<asp:BoundColumn DataField="thanhtien" HeaderText="Th&#224;nh tiền" DataFormatString="{0:#,###}"
									ItemStyle-HorizontalAlign="Right"></asp:BoundColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></PagerStyle>
						</asp:datagrid></TD>
				</TR>
				<TR>
					<TD style="WIDTH: 19px"></TD>
					<TD style="WIDTH: 653px">
						<P align="right">
							<asp:Label id="Label2" runat="server"></asp:Label></P>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
